(function (w, d) {
	function rem() {
		d.documentElement.style.fontSize = d.documentElement.clientWidth / 7.5 + 'px';
	}

	rem();
	w.addEventListener('resize', rem);
}(window, document));